<template>
  <!-- src\layout\components\AppMain.vue 缓存了已访问的页签 -->
  <router-view />
  <!-- <el-link :icon="Document" ></el-link> -->
</template>

<script setup>
import {Document} from '@element-plus/icons-vue'


import useSettingsStore from '@/store/settingsStore'
import { handleThemeStyle } from '@/utils/theme'
onMounted(() => {
  nextTick(() => {
    // 初始化主题样式
    handleThemeStyle(useSettingsStore().theme)
  })
})
</script>
